#ifndef _ARITHMETRIC_H_
#define _ARITHMETRIC_H_

typedef struct _operator_data
{
    /* data */
    char *ptr_data;
    int data_len;
} operator_data;

typedef struct _operator_link
{
    char op_type;
    operator_data data;
    struct _operator_link *next;
} operator_link;

typedef struct _operator
{
    struct _operator_data data;
    struct _operator_link link;
} operator;

void init_operator(const char *expression, int expression_len, operator **ops);

int get_value(const operator * ptr_ops);


#endif
